package cn.xianshu.user.mapper;

import cn.xianshu.basic.mapper.BasicMapper;
import cn.xianshu.user.domain.Logininfo;
import cn.xianshu.user.dto.LoginDto;
import org.springframework.stereotype.Component;

@Component
public interface LogininfoMapper extends BasicMapper {

    Logininfo findByUsernameAndType(LoginDto loginDto);

    Logininfo findByUserId(Long user_id);
}
